﻿<content:DbUnit
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:content="clr-namespace:Content"
	x:Class="Content.DbUnitContentRows"
	Width="640" Height="480" Loaded="UserControl_Loaded">
	<UserControl.Resources>
		<Storyboard x:Name="storyboard">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Title" Storyboard.TargetProperty="(UIElement.Opacity)">
                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                <SplineDoubleKeyFrame KeyTime="00:00:04" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:05" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
            
            <!-- Item Opacity Examples
            
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Item1" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:04" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:05" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Item2" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:12" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:13" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Item3" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:20" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:21" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Item4" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:28" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:29" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Item5" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:36" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:37" Value="1"/>
			</DoubleAnimationUsingKeyFrames>

             -->
            
        </Storyboard>
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot" Height="Auto">
		<Grid.RowDefinitions>
			<RowDefinition Height="60"/>
            <!--<RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>-->
        </Grid.RowDefinitions>

        <!--<RichTextBox TextWrapping="Wrap" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsEnabled="True" LineStackingStrategy="BaselineToBaseline" BorderThickness="0" IsReadOnly="True" Height="Auto" VerticalScrollBarVisibility="Disabled" HorizontalScrollBarVisibility="Disabled">
            <Paragraph>
                <Run>This is some content I am writing to show you what would happen once the text runs over how about them apples and then we do what we do the This is some content I am writing to show you what would happen once the text runs over how about them apples and then we do what we do theThis is some content I am writing to show you what would happen once the text runs over how about them apples and then we do what we do the This is some content I am writing to show you what would happen once the text runs over how about them apples and then we do what we do the This is some content I am writing to show you what would happen once the text runs over how about them apples and then we do what we do theThis is some content I am writing to show you what would happen once the text runs over how about them apples and then we do what we do the</Run>
            </Paragraph>
        </RichTextBox>-->

        <TextBlock Grid.Row="0" Text="[Not set]" TextWrapping="Wrap" FontSize="18" FontWeight="Bold" FontFamily="Portable User Interface" Foreground="#FF000080" x:Name="Title"/>
        <!--  Content Rows Examples
        
        <ContentControl x:Name="Item1" Grid.Row="1" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
            <RichTextBox HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsEnabled="True">
                <Paragraph>
                    <Run>This is some content I am writing to show you what would happen once the text runs over how about them apples</Run>
                </Paragraph>
            </RichTextBox>
        </ContentControl>
        <ContentControl x:Name="Item2" Grid.Row="2" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
            <RichTextBox HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsEnabled="True">
                <Paragraph>
                    <Run>This is some content I am writing to show you what would happen once the text runs over how about them apples</Run>
                </Paragraph>
            </RichTextBox>
        </ContentControl>

        -->
	</Grid>
</content:DbUnit>